from pydantic import BaseModel
from typing import Optional

class LoginRequest(BaseModel):
    username: str
    password: str

class RegisterReq(BaseModel):
    username: str
    password: str
    department: Optional[str]
    position: Optional[str]
    emp_number: Optional[str]
    is_admin: bool
    

class ResetPassReq(BaseModel):
    oldPass: str
    newPass: str
